package com.zhangkunhao.notes.service.impl;

import com.zhangkunhao.notes.entity.Do.BlackList;


import java.sql.SQLException;
import java.util.List;

/**
 * @author 20642
 * @description TODO
 * @date 2023/4/28 19:51
 */
public interface BlackListService {
    /**
     * 查询所有
     *
     * @return
     */
    List<BlackList> selectAll();

    /**
     * 添加
     *
     * @param
     */
    void insert(BlackList blackList) throws Exception;


    int delete(int id) throws SQLException;

    int update(BlackList blackList, String... params) throws Exception;
}
